package com.kasax.test.bc.ui.fragment

import android.view.View
import androidx.navigation.fragment.findNavController
import com.kasax.base.BasicBindingFragment
import com.kasax.test.bc.R
import com.kasax.test.bc.databinding.FragmentKasaxSdkComponentTestBinding

class KasaxSDKComponentTestFragment : BasicBindingFragment<FragmentKasaxSdkComponentTestBinding>() {


    override fun getLayoutId(): Int = R.layout.fragment_kasax_sdk_component_test


    override fun addListeners(view: View) {
        viewBinding.btnHlogTest.setOnClickListener {
            findNavController().navigate(R.id.action2_hlog_test_fragment)
        }

        viewBinding.btnRuntimePermissionTest.setOnClickListener {
            findNavController().navigate(R.id.action2_hpermission_test)
        }
    }
}